package org.opsli.modulars.system.app.service;

import com.alibaba.fastjson.JSONObject;
import org.opsli.api.wrapper.system.user.UserModel;
import org.opsli.common.api.Result;
import org.opsli.core.base.service.interfaces.CrudServiceInterface;
import org.opsli.modulars.system.user.entity.SysUser;
import org.springframework.stereotype.Service;

public interface AppInterface extends CrudServiceInterface<SysUser, UserModel> {


    /**
     * 根据 用户名 获得当前用户
     * @param username 用户名
     * @return UserModel
     */
    UserModel queryByUserName(String username);

    Result checkUserIsEffective(UserModel userModel);
}
